package com.kefu.call.vo;

import cn.hutool.core.bean.BeanUtil;
import com.kefu.call.model.CallSipuser;
import com.kefu.common.context.KefuContext;
import com.kefu.common.vo.AbstractUpdateVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * @author CodeGenerator
 * @date 2022/07/24
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@ApiModel(description = "SIP用户")
public class CallSipuserUpdateVo extends AbstractUpdateVo<CallSipuser,String> {

    @ApiModelProperty(value = "账号")
    private String sipUser;

    @ApiModelProperty(value = "密码")
    private String password;



    @Override
    public CallSipuser convert() {
        CallSipuser info = BeanUtil.toBean(this, CallSipuser.class);
        return info;
	}
}